package org.lambdateacher.gwt.client;

import org.lambdateacher.gwt.shared.ReduceResponse;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client-side stub for the RPC service.
 */
@RemoteServiceRelativePath("greet")
public interface LambdaService extends RemoteService {
	String evaluateExpression(String name) throws IllegalArgumentException;
	
	ReduceResponse reduce(String input);
}
